// Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.
// This source file is part of the Cangjie project, licensed under Apache-2.0
// with Runtime Library Exception.
//
// See https://cangjie-lang.cn/pages/LICENSE for license information.

#ifndef CANGJIE_MIGRATOR_PATH
#define CANGJIE_MIGRATOR_PATH

#if __has_include(<filesystem>)
#include <filesystem>

namespace FileSystem = std::filesystem;

using Path = std::filesystem::path;

#elif __has_include(<experimental/filesystem>)
#include <experimental/filesystem>

namespace FileSystem = std::experimental::filesystem;

using Path = std::experimental::filesystem::path;

#else
#error "No <filesystem> support"
#endif

#endif // CANGJIE_MIGRATOR_PATH
